@import './reset.scss';

html,
body {
  width: 100vw;
  height: 100vh;
}
#app {
  //color: $color;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.el-container {
  width: 100%;
  height: calc(100vh - 48px);
}
* {
  box-sizing: border-box;
}

.el-button {
  font-size: 13px !important;
}
.el-form-item {
  align-items: center;
}
.el-form-item__label {
  font-size: 12px !important;
  font-weight: bold !important;
}
.el-input__wrapper {
  font-size: 12px !important;
  height: 28px !important;
  // margin: 0px 10px;
}
.el-descriptions__title {
  font-size: 13px !important;
}
.el-button--small {
  height: 28px !important;
}

*::-webkit-scrollbar {
  // display: block;
  display: none;
  width: 10px;
}

div::-webkit-scrollbar {
  display: block;
  width: 10px;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 1px solid transparent;
}

::-webkit-scrollbar-thumb {
  box-shadow: none;
  background-color: lightgray;
}

.el-loading-mask {
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  .el-loading-spinner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    //gap: 5px;
    position: static;
    border-radius: 10px;
    width: 87px;
    height: 87px;
    background-color: #fff;
    box-shadow: 0px 0px 16px 0px rgba(165, 165, 165, 0.89);
    .el-icon-loading {
      color: #000;
      font-size: 20px;
    }
    .el-loading-text {
      margin: 0;
      color: #000;
      font-size: 12px;
      font-weight: bold;
    }
  }
}

.el-loading-parent--hidden {
  overflow: auto !important;
}
.el-overlay-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
}
.js-dialog {
  display: flex;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  align-items: center;
  border-radius: 5px !important;
  header.el-dialog__header {
    // display: none !important;
    width: 0px !important;
    height: 0px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .el-dialog__body {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
  }
}
